using System;
using System.Collections.Generic;
using System.Text;
using RoboTrocity;

namespace RoboTrocity {
    class ObjectState {
        public enum StateType { STANDING, WALKING, JUMPING, FALLING, B_FLYING, B_COLLIDING, DELETE, S_ON, S_OFF};
        StateType type;
        float timeInState;
        Sprite animation;

        public ObjectState(StateType _type, Sprite _animation) {
            type = _type;
            animation = _animation;
        	timeInState = 0;
        }

        public Sprite Animation {
            get { return animation; }
            set { animation = value; }
        }

        public float TimeInState {
            get { return timeInState; }
            set { timeInState = value; }
        }

        public StateType Type {
            get { return type; }
            set { type = value; }
        }
    }
}
